package com.learncloud.common.vo;

import java.io.Serializable;
import java.util.List;

/**
  * @description 分页返回
  * @author lbx
  * @date 2021/9/9 11:47
  * @version 1.0.0
 **/
public final class PageResult<T> implements Serializable {

    /**
     * 返回数据
     */
    private List<T> list;
    /**
     * 总记录数
     */
    private Long total;

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }
}
